<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta content="telephone=no" name="format-detection">
  <meta content="black" name="apple-mobile-web-app-status-bar-style">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <script src="./static/js/jquery-3.3.1.min.js"></script>
  <script>
    function dealHeight() {
      var documenHeight = $(window).height();
      window.onresize = function temp() {
        if($(this).height() < documenHeight) {
          $(".key_alert_hide").addClass("div_hide");
      //    $(".view-router").animate({scrollTop: 0}, 0);
        } else {
          $(".key_alert_hide").removeClass("div_hide");
      //    $(".view-router").animate({scrollTop: 0}, 0);
        }
      };
    }
    //处理键盘摊主input
    function dealKeyOverInput() {
      var u = navigator.userAgent;
      var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端
      var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
      if (isAndroid) {
        $(".view-router").css("height", "0px");
        $(".view-router").css("height", document.body.scrollHeight);
        $('[jump="true"]').bind("focus", function (event) {
          $(this).scrollIntoView();
          event.preventDefault();
        });
      };
    }

    function AllFixScroll(){
      var m = navigator.userAgent;
      var isIos = !!m.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);                  //ios终端       
      if (isIos) {
        //为input、textarea、select添加blur事件
        window.scroll(0, 0);
      }
    }   

  </script>
  <title>第三课堂</title>
</head>

<body>
  <div id="app"></div>
  <!-- built files will be auto injected -->
</body>

</html>